# Where stuff is on the system
ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib
ac_add_options --x-libraries=/usr/lib

# Build options
ac_add_options --enable-application=basilisk
ac_add_options --enable-optimize="$CFLAGS"
ac_add_options --enable-devtools
ac_add_options --with-pthreads
ac_add_options --enable-av1
ac_add_options --enable-jxl
mk_add_options AUTOCLOBBER=1

# Disable stuff
ac_add_options --disable-webrtc
ac_add_options --disable-gamepad
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater
ac_add_options --disable-gconf
ac_add_options --disable-crashreporter
ac_add_options --disable-parental-controls
ac_add_options --disable-maintenance-service
ac_add_options --disable-strip
ac_add_options --disable-install-strip
ac_add_options --disable-profiling

# Please see https://repo.palemoon.org/Basilisk-Dev/Basilisk/issues/36 for restrictions when using the official branding.
ac_add_options --disable-official-branding
export MOZILLA_OFFICIAL=1
